<?
	$CI =& get_instance();
	$CI->load->library('totals');
	$inquiry = $CI->totals->inquiry();
	$applicants = $CI->totals->applicants();
	$enrollees = $CI->totals->enrollees();
	$registrar_approved = $CI->totals->registrar_approved();
	$approved_enrolled = $CI->totals->approved_enrolled();
?>
<ul class="accordion side-nav">
    <h3 class="head ui-corner-toli side_menu"><a href="#">Students Search</a></h3>
    <ul>
		<li><a href="<?php echo site_url('search/inquiries'); ?>" <?php echo @$this->tip->help_tip==='yes' || $this->tip==='' ? 'class="hint--top  hint--rounded" data-hint="Inquiries."':''; ?>>Inquiry <?php echo $inquiry!=0 ? '<span class="badge badge-info" id="inquiry">'.$inquiry.'</span>':'';?></a></li>
		<li><a href="<?php echo site_url('search/applicants'); ?>" <?php echo @$this->tip->help_tip==='yes' || $this->tip==='' ? 'class="hint--top  hint--rounded" data-hint="Applicants to take a test."':''; ?>>Applicant <?php echo $applicants!=0 ? '<span class="badge badge-info" id="inquiry">'.$applicants.'</span>':'';?></a></li>
		<!--<li><a href="<?php echo site_url('applicant/applicant_report'); ?>">Applicant Report</a></li>-->
		<li><a href="<?php echo site_url('search/enrollees'); ?>" <?php echo @$this->tip->help_tip==='yes' || $this->tip==='' ? 'class="hint--top  hint--rounded" data-hint="Students approved by guidance."':''; ?>>Enrollees <?php echo $enrollees!=0 ? '<span class="badge badge-info" id="inquiry">'.$enrollees.'</span>':'';?></a></li>
		<li><a href="<?php echo site_url('search/registrar_approved'); ?>" <?php echo @$this->tip->help_tip==='yes' || $this->tip==='' ? 'class="hint--top  hint--rounded" data-hint="Students approved by registrar."':''; ?>>Registrar Verified <?php echo $registrar_approved!=0 ? '<span class="badge badge-info" id="inquiry">'.$registrar_approved.'</span>':'';?></a></li>
		<li><a href="<?php echo site_url('search/enrolled'); ?>" <?php echo @$this->tip->help_tip==='yes' || $this->tip==='' ? 'class="hint--top  hint--rounded" data-hint="Students with payment."':''; ?>>Officially Enrolled <?php echo $approved_enrolled!=0 ? '<span class="badge badge-info" id="inquiry">'.$approved_enrolled.'</span>':'';?></a></li>
	</ul>
    <h3 class="head ui-corner-toli side_menu"><a href="#">Reports</a></h3>
    <ul id="part2" class="mini">
        <li><a href="<?php echo site_url('search/enrollmentsummary'); ?>" <?php echo @$this->tip->help_tip==='yes' || $this->tip==='' ? 'class="hint--top  hint--rounded" data-hint="Contains enrollment population by grade school."':''; ?>>Enrollment Summary</a></li>
        <li><a href="<?php echo site_url('master_list/summary'); ?>" <?php echo @$this->tip->help_tip==='yes' || $this->tip==='' ? 'class="hint--top  hint--rounded" data-hint="Contains enrollment population by section."':''; ?>>Section Summary</a></li>
		<li><a href="<?php echo site_url('master_list'); ?>" <?php echo @$this->tip->help_tip==='yes' || $this->tip==='' ? 'class="hint--top  hint--rounded" data-hint="Contains masterlist by section. Has a print option."':''; ?>>Masterlist (Section)</a></li>
		<li><a href="<?php echo site_url('search/enrollmentlist'); ?>" <?php echo @$this->tip->help_tip==='yes' || $this->tip==='' ? 'class="hint--top  hint--rounded" data-hint="Contains masterlist by nationality. Has a print option."':''; ?>>Masterlist (Foreign/Not Foreign)</a></li>
		<li><a href="<?php echo site_url(); ?>finance/payment_report" <?php echo @$this->tip->help_tip==='yes' || $this->tip==='' ? 'class="hint--top  hint--rounded" data-hint="Generate payment report."':''; ?>>Payment Report</a></li>
		<li><a href="<?php echo site_url(); ?>finance/reports" <?php echo @$this->tip->help_tip==='yes' || $this->tip==='' ? 'class="hint--top  hint--rounded" data-hint="Show daily payment."':''; ?>>Daily/Yearly Payments</a></li>
		<li><a href="<?php echo site_url('fees/balance_report'); ?>" <?php echo @$this->tip->help_tip==='yes' || $this->tip==='' ? 'class="hint--top  hint--rounded" data-hint="Generates remaining balace of students in PDF or Excel."':''; ?>>Remaining Balance Report</a></li>
    </ul>
	<h3 class="head side_menu"><a href="#">Employee Section</a></h3>
    <ul id="part3" class="mini">
        <li><a href="<?=site_url(array('admin', 'employees')); ?>" <?php echo @$this->tip->help_tip==='yes' || $this->tip==='' ? 'class="hint--top  hint--rounded" data-hint="List of all employees that were entered to the system."':''; ?>>Manage Employees</a></li>
		<li><a href="<?php echo site_url(array('admin', 'employee_bin')); ?>" <?php echo @$this->tip->help_tip==='yes' || $this->tip==='' ? 'class="hint--top  hint--rounded" data-hint="List employees that were deleted."':''; ?>>Employees Bin</a></li>
	</ul>
	<h3 class="head2 side_menu"><a href="#">---</a></h3>
</ul>
